﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IPowershellAction.cs" company="Collaboris Ltd.">
//   Copyright (c) Collaboris Ltd. All rights Reserved.
// </copyright>
// <summary>
//   IPowershell Action
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Collaboris.Saf.Actions.Powershell
{
    /// <summary>
    /// IPowershell Action
    /// </summary>
    public interface IPowershellAction 
    {
        /// <summary>
        /// Gets or sets a value indicating whether [should exit].
        /// </summary>
        /// <value><c>true</c> if [should exit]; otherwise, <c>false</c>.</value>
        bool ShouldExit { get; set; }

        /// <summary>
        /// Gets or sets the exit code.
        /// </summary>
        /// <value>The exit code.</value>
        int ExitCode { get; set; }
    }
}